export default {
  data() {
    return {
      week: [
        {
          label: "周一",
          taskNumber: 2,
          color: "#ECCAC1"
        },
        {
          label: "周二",
          taskNumber: 3,
          color: "#F1CE74"
        },
        {
          label: "周三",
          taskNumber: 4,
          color: "#D2EAC6"
        },
        {
          label: "周四",
          taskNumber: 5,
          color: "#DD6A65"

        },
        {
          label: "周五",
          taskNumber: 6,
          color: "#9DA2F3"

        },
        {
          label: "周六",
          taskNumber: 2,
          color: "#579D93"

        },
        {
          label: "周日",
          taskNumber: 5,
          color: "#93AE81"

        },
      ],
    }
  },

  methods: {
    init() {

    },
    rowStyle(item) {
      return {
        backgroundColor: item.color
      }
    },
    pageSkip() {
      uni.navigateTo({ url: "/pages/task/searchDetail/index" })
    }
  }
}
